<div id="navBar">
  <ul>
  <?php
  // Forums Button
  if($config->enableForumLink) {
  ?>
  <li><a href="<?=$config->forumURL?>"><span>Forums</span></a></li>
  <?php
  }
  ?>
  
  <?php
  // Ban List button
  ?>
  <li><a href="index.php?page=banlist"><span>Ban List</span></a></li>

  <?php
  // Ip List button
  ?>
  <li><a href="index.php?page=ipbanlist"><span>IP Ban List</span></a></li>

  <?php
  // Add Ban Button
  if($member || $admin || $banManager || $fullPower) {
  ?>
  <li><a href="index.php?page=addBan"><span>Add Ban</span></a></li>
  <?php
  }
  ?>
  
  <?php
  // Add Ban Button
  if($fullPower) {
  ?>
  <li><a href="index.php?page=importBans"><span>Import Bans</span></a></li>
  <?php
  }
  ?>
  
  <?php
  // Demos Button
  ?>
  <li><a href="index.php?page=demos"><span>Demos</span></a></li>
  
  <?php // Server List Button ?>
  <li><a href="index.php?page=serverList"><span>Server List</span></a></li>

  
  <?php
  // Profile Button
  if($member || $admin || $banManager || $fullPower) {
  ?>
  <li><a href="index.php?page=profile"><span>Profile</span></a></li>
  <?php
  }
  ?>

  <?php
  // Logout
  if(isset($_SESSION['accessLevel']) && $page != "logout" && !$config->enableSmfIntegration) {
  ?>
  <li><a href="index.php?page=logout"><span>Logout</span></a></li>
  <?php
  }
  ?>
  </ul>
  
  <?php
  // Menu for full power admins only
  if($fullPower) {
  ?>
  <br/>
  <ul>
    <li><a href="index.php?page=configuration&adminPage=1"><span>Configuration</span></a></li>
    <li><a href="index.php?page=banReasons&adminPage=1"><span>Ban Reasons</span></a></li>
    <li><a href="index.php?page=banLengths&adminPage=1"><span>Ban Lengths</span></a></li>
    <li><a href="index.php?page=manageServers&adminPage=1"><span>Manage Servers</span></a></li>
    <li><a href="index.php?page=manageAdmins&adminPage=1"><span>Manage Admins</span></a></li>
  </ul>
  <br/>
  <?php
  }
  ?>
</div>
